var app = getApp();
Page({
  data: {
    // banner
    imgUrls: [
      '../../dist/images/1.png',
      '../../dist/images/2.png',
      '../../dist/images/1.png'
    ],
    indicatorDots: true, //是否显示面板指示点
    autoplay: true, //是否自动切换
    interval: 3000, //自动切换时间间隔,3s
    duration: 1000, //  滑动动画时长1s
    // navItems
    navItems: [
      {
        typeId: 0,
        name: '品牌馆',
        url: 'bill',
        imageurl: '../../dist/images/5.png',
      },
      {
        typeId: 1,
        name: '类目',
        url: 'bill',
        imageurl: '../../dist/images/5.png',
      },
      {
        typeId: 2,
        name: '特惠专场',
        url: 'bill',
        imageurl: '../../dist/images/5.png'
      },
      {
        typeId: 3,
        name: '推荐好友',
        url: 'bill',
        imageurl: '../../dist/images/5.png'
      }
    ],
    // 新品上架
    goodsItems: [
      {
        goodId: 0,
        name: '兰蔻小黑瓶',
        url: '',
        imageurl: '../../dist/images/3.png',
        mode: 'aspectFit',
        newprice: "￥239.00券后",
      },
      {
        goodId: 1,
        name: '兰蔻清莹柔肤爽肤水',
        url: '',
        imageurl: '../../dist/images/3.png',
        mode: 'aspectFit',
        newprice: "￥239.00券后",
      },
      {
        goodId: 2,
        name: '倩碧水嫩保湿精华面霜',
        url: '',
        imageurl: '../../dist/images/3.png',
        mode: 'aspectFit',
        newprice: "￥239.00券后",
      },
      {
        goodId: 3,
        name: '特效润肤露',
        url: '',
        imageurl: '../../dist/images/3.png',
        mode: 'aspectFit',
        newprice: "￥239.00券后",
      },
      {
        goodId: 4,
        name: '特效润肤露',
        url: '',
        imageurl: '../../dist/images/3.png',
        mode: 'aspectFit',
        newprice: "￥239.00券后",
      },
    ],
    
    // 最热新品
    goodsHotItems: [
      {
        goodHotId: 0,
        name: '兰蔻小黑瓶',
        url: '',
        imageurl: '../../dist/images/3.png',
        mode: 'aspectFit',
        newprice: "券后￥239.00",
        sales: "销量1000",
        ticket: "券￥100",
      },
      {
        goodHotId: 1,
        name: '兰蔻小黑瓶',
        url: '',
        imageurl: '../../dist/images/3.png',
        mode: 'aspectFit',
        newprice: "券后￥239.00",
        sales: "销量1000",
        ticket: "券￥100",
      },
      {
        goodHotId: 2,
        name: '兰蔻小黑瓶',
        url: '',
        imageurl: '../../dist/images/3.png',
        mode: 'aspectFit',
        newprice: "券后￥239.00",
        sales: "销量1000",
        ticket: "券￥100",
      },
      {
        goodHotId: 3,
        name: '兰蔻小黑瓶',
        url: '',
        imageurl: '../../dist/images/3.png',
        mode: 'aspectFit',   
        newprice: "券后￥239.00",
        sales: "销量1000",
        ticket: "券￥100",
      },
    ],

  }
})
